package ca.tatham.scheduler.simulate;

class ResourceRequirement {
	private final Object m_resource;
	private final int m_lockTime;
	private final int m_unlockTime;

	public ResourceRequirement(Object resource, int lockAt, int unlockAt) {
		m_resource = resource;
		m_lockTime = lockAt;
		m_unlockTime = unlockAt;
	}

	public int getLockTime() {
		return m_lockTime;
	}

	public Object getResource() {
		return m_resource;
	}

	public int getUnlockTime() {
		return m_unlockTime;
	}

}
